package com.kd.captcha;

public interface ICaptchaManager {

    Captcha generate(String name, String biz);

    Captcha generate(String name, String biz, long timeout);

    Captcha generate(String name, String biz, long timeout, int length);

    boolean validate(Captcha captcha);

    boolean remove(Captcha captcha);

    Captcha getCaptcha(String name, String biz);
}
